import {
	axios
} from './index'

//根据用户ID新增密保问题
export const addSecurityQuestionApi = (securityQuestion) => {
	console.log(securityQuestion)
	return axios.post('/securityQuestion', securityQuestion)
}

//根据用户ID查询密保问题
export const findByUserIdApi = (userId) => {
	console.log(userId)
	return axios.get('/securityQuestion/userId/' + userId)
}